<!DOCTYPE html>
<html>
<head>
    <title>Title</title>
    <#include "../head.ftl"/>
    <!--页面模版宏-->
    <#include "../_macro/query.ftl"/>
    <#include "query_js.ftl"/>
</head>
<body class="margin-5">
<div class="layui-row layui-form edit-form layui-col-space5">
    <@commonQuery></@commonQuery>
    <@queryCondition>
        <!--查询条件-->
    </@queryCondition>
</div>
<table class="layui-hide" id="page" lay-filter="page"></table>
<@queryAct>
<!--表操作-->
    <a class="layui-btn layui-btn-sm layui-btn-normal" lay-event="add">新增</a>
</@queryAct>
<@tableAct>
<!--列操作-->
    <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="edit">修改</a>
    <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>
</@tableAct>
<@queryScript name="部门" editUrl="/dept/page/edit" delUrl="/dept/data/del" queryUrl="/dept/data/load" viewUrl="/dept/page/view">
    [
    {field: 'id', title: 'ID'   },
    {field: 'code', title: '编码'   },
    {field: 'title', title: '名称'   },
    {field: 'stateCN', title: '状态'   },
    {field: 'remark', title: '备注'   },
    {field: 'pcodeCN', title: '上级部门'   },
    {title: '操作', toolbar: '#rowBar',fixed:'right'}
    ]
</@queryScript>
</body>
</html>